longUI = [];
longER = [];
longST = [];
ocMedER1 = [];
ocMedER2 = [];
ocMedER3 = [];
p = [0.1:0.1:1];

load f_areas_01;
longUI(1) = areas(1);
longER(1) = areas(2);
longST(1) = areas(3);
ocMedER1(1) = areas(5)* 100;
ocMedER2(1) = areas(6)* 100;
ocMedER3(1) = areas(7)* 100;

load f_areas_02;
longUI(2) = areas(1);
longER(2) = areas(2);
longST(2) = areas(3);
ocMedER1(2) = areas(5)* 100;
ocMedER2(2) = areas(6)* 100;
ocMedER3(2) = areas(7)* 100;

load f_areas_03;
longUI(3) = areas(1);
longER(3) = areas(2);
longST(3) = areas(3);
ocMedER1(3) = areas(5)* 100;
ocMedER2(3) = areas(6)* 100;
ocMedER3(3) = areas(7)* 100;

load f_areas_04;
longUI(4) = areas(1);
longER(4) = areas(2);
longST(4) = areas(3);
ocMedER1(4) = areas(5)* 100;
ocMedER2(4) = areas(6)* 100;
ocMedER3(4) = areas(7)* 100;

load f_areas_05;
longUI(5) = areas(1);
longER(5) = areas(2);
longST(5) = areas(3);
ocMedER1(5) = areas(5)* 100;
ocMedER2(5) = areas(6)* 100;
ocMedER3(5) = areas(7)* 100;

load f_areas_06;
longUI(6) = areas(1);
longER(6) = areas(2);
longST(6) = areas(3);
ocMedER1(6) = areas(5)* 100;
ocMedER2(6) = areas(6)* 100;
ocMedER3(6) = areas(7)* 100;

load f_areas_07;
longUI(7) = areas(1);
longER(7) = areas(2);
longST(7) = areas(3);
ocMedER1(7) = areas(5)* 100;
ocMedER2(7) = areas(6)* 100;
ocMedER3(7) = areas(7)* 100;

load f_areas_08;
longUI(8) = areas(1);
longER(8) = areas(2);
longST(8) = areas(3);
ocMedER1(8) = areas(5)* 100;
ocMedER2(8) = areas(6)* 100;
ocMedER3(8) = areas(7)* 100;

load f_areas_09;
longUI(9) = areas(1);
longER(9) = areas(2);
longST(9) = areas(3);
ocMedER1(9) = areas(5) * 100;
ocMedER2(9) = areas(6) * 100;
ocMedER3(9) = areas(7) *100;

load f_areas_10;
longUI(10) = areas(1);
longER(10) = areas(2);
longST(10) = areas(3);
ocMedER1(10) = areas(5) * 100;
ocMedER2(10) = areas(6) * 100;
ocMedER3(10) = areas(7) * 100;

plot(p, longUI, '*-k', p, longER, 'o-k', p, longST, '+-k');
xlabel('p');
ylabel('Longitud media de la cola');
legend('Longitud media de la cola UI','Longitud media de la cola ER','Longitud media de la cola ST');
print('longMediaColas.eps', '-deps');

plot(p, ocMedER1, '*-k', p, ocMedER2, 'o-k', p, ocMedER3, '+-k');
xlabel('p');
ylabel('Utilizacion media [%]');
legend('Utilizacion media de ER1 [%]','Utilizacion media de ER2 [%]','Utilizacion media de ER3 [%]');
print('longMediaERs.eps', '-deps');



